<?php

namespace Xehang\Enum\Console;

use Illuminate\Console\GeneratorCommand;

class EnumMakeCommand extends GeneratorCommand
{
    protected $name = 'make:enum';

    protected $description = 'Create a enum class';

    protected $type = 'Enum Class';

    protected function getStub()
    {
        return __DIR__.'/stubs/enum.stub';
    }

    protected function getDefaultNamespace($rootNamespace)
    {
        return $rootNamespace.'\Enums';
    }
}
